package com.zpark;

import java.util.Comparator;

public class Plant implements Comparator<Plant> {
    
    private int x;
    private int y;
    private Object Plant;

    public Plant(int x, int y) {
    }

    public Plant() {

    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "Plant{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }

    @Override
    public int compare(Plant x, Plant y) {
        if (Plant x == Plant y){

        }
    }
}
